package com.findMoneyGame.pages.shop.improvements {
	
	import com.findMoneyGame.Engine;
	import com.findMoneyGame.models.User;
	import com.findMoneyGame.pages.shop.ImprovementsConfig;
	
	
	public class BuyBonusLoupeButton extends BuyImprovementButtonBase {
		
		protected override function get price () {
			if ((user.loupeBonusIndex + 1) < ImprovementsConfig.loupeBonusesPrices.length) {
				return ImprovementsConfig.loupeBonusesPrices[user.loupeBonusIndex + 1];
			} else {
				return 0;
			}
		}
	}
	
}
